<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link href="<s:url value="/images/08_ccxxzx.css"/>" rel="stylesheet" type="text/css" />
<title>欢迎访问产品运营互动中心！</title>
<link rel="stylesheet" href="<s:url value="/css/style_new.css"/>">
<script type="text/javascript" src="<s:url value="/script/sysOper.js"/>"></script>
			<script type="text/javascript"
			src="<s:url value="/script/selfResize.js"/>"></script>
		<script type="text/javascript"
			src="<s:url value="/components/datepicker/WdatePicker.js"/>"></script>
<script type="text/javascript">
function show(url){
	window.open(url);
}
function initLoad(){
	f_iframeResize();
}
window.onload = initLoad;
window.setInterval("initLoad()", 200);
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width="980" border="0" cellspacing="0" cellpadding="0" align="center">
	<form action="business/share/listShareReferenceShow.action" method="post" target="_blank">
	<tr>
		<td>
		<table width="100%" border="0" cellpadding="0" cellspacing="0"
			background="<s:url value="/images/new/gxzl_index_2.gif"/>">
			<tr>
				<td width="20" height="32">&nbsp;</td>
				<td width="20"><img
					src="<s:url value="/images/new/dq_dot.gif"/>" width="15"
					height="12" /></td>
				<td>当前位置：<a
											href="<s:url value="/business/share/showAllShareReference.action"/>"><font
											color="#003399">合同管理</font></a>&gt;&gt;经济合同查询</td>
				<td width="60"></td>
				<td width="200"></td>
				<td width="100"></td>
			</tr>
		</table>
		</td>
	</tr></form>
  <tr> 
    <td  background="<s:url value="/images/home_4a.gif"/>"> 
      <table width="100%" height="400" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
        <tr>
          <td width="240" valign="top" class="leftbg">
			<%@ include file="/commons/include/contract_left.inc"%>  
		  </td>
          <td valign="top" align="center">
            <s:form action="/business/contract/findEconomicContracts.action" method="post">
					<table width=98% border="0" cellspacing="0" cellpadding="0">
						<br>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab1.gif"/>" width="5" height="5" /></td>
										<td class="tdborderup"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab2.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td class="tdborderleftright">
			                <TABLE width="98%" border="0" cellspacing="0" cellpadding="0" align="center" class=tablecolor2>
			                  <tr> 
			                    <td width="12%" height="50"> 
			                      <div align="center">办理情况</div></td>
							            <td width="35%" colspan="3">
							            	<select name="flowType">
							            		<option value="1">待办理</option>
							            		<option value="2">已办理</option>
							            	</select>
							            </td>
			                  </tr>
			                    <tr> 
			                    <td width="12%" height="50"> 
			                      <div align="center">字号</div></td>
			                    <td width="37%"><input name="conds.signcode" type="text" value="${conds.signcode}" size="30"/></td>
			                    <td width="12%" height="50"> 
			                      <div align="center">当前状态</div></td>
			                    <td width="37%"><input name="conds.status" type="text" value="${conds.status}" size="30"/></td>
			                    </tr>
			                    <tr> 
			                    <td width="12%" height="50"> 
			                      <div align="center">标题</div></td>
			                    <td width="37%"><input name="conds.contractname" type="text" value="${conds.contractname}" size="30"/></td>
			                    <td width="12%" height="50"> 
			                      <div align="center">送达时间</div></td>
			                    <td width="37%"><input type="text" name="conds.receiveTime1" size="14" class="Wdate" onFocus="new WdatePicker(this)"> - <input type="text" name="conds.receiveTime2" size="14" class="Wdate" onFocus="new WdatePicker(this)"></td>
			                    </tr>
			                    <!--tr> 
			                    <td width="12%" height="50"> 
			                      <div align="center">办理时间</div></td>
			                    <td width="37%"><input type="text" name="" size="14" class="Wdate" onFocus="new WdatePicker(this)"> - <input type="text" name="" size="14" class="Wdate" onFocus="new WdatePicker(this)"></td>

			                    </tr-->
			                    
							</TABLE>
							<TABLE width="98%" cellSpacing=1 cellPadding=0 align="center">
								<TR height=30>
									<TD align=left width="10%">
				                      <input type="button" name="search" onclick="submit();"  value="查 询">
									</TD>
								</TR>
							</table>
							<input type="hidden" name="pageControl.usePage" value="${pageControl.usePage}"/>
							<input type="hidden" name="pageControl.pageNo" value="${pageControl.pageNo}"/>
							<input type="hidden" name="pageControl.totalPage" value="${pageControl.totalPage}"/>
							<input type="hidden" name="pageControl.pageSize" value="${pageControl.pageSize}"/>
							<table width="98%" border="0" cellspacing="0" cellpadding="7"
								align="center" class=tablecolor2>
								<tr>
									<td colspan="8" align="right">
									<s:if test="pageControl.useFrontPage">
										<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo-1};submit();">上一页</a>
									</s:if>	
									<s:if test="pageControl.useNextPage">								
   									<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo+1};submit();">下一页</a>
									</s:if>
							    	第${pageControl.pageNo}页  共${pageControl.totalPage}页  总${pageControl.total}条记录 每页${pageControl.pageSize}条记录</td>
								</tr>
								<tr>
									<td bgcolor="9AC2EB" width="15%">
									<div align="center"><font color="#FFFFFF">序号</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="8%">
									<div align="center"><font color="#FFFFFF">当前状态</font></div>
									</td>
									<td bgcolor="9AC2EB" width="18%">
									<div align="center"><font color="#FFFFFF">标题</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="8%">
									<div align="center"><font color="#FFFFFF">签约剩余工作日</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="8%">
									<div align="center"><font color="#FFFFFF">字号</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="8%">
									<div align="center"><font color="#FFFFFF">送达时间</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="8%">
									<div align="center"><font color="#FFFFFF">缓急</font>
									</div>
									</td>
								</tr>
							<s:iterator value="pageControl.results">
								<tr>
									<td>
												<div align="center"><a
													href="findContractCountersignedById.action?objId=<s:property value="id" />&flowType=${flowType}" target="_blank">
												<s:property value="contractcode" /></a>
												</div>
									</td>
									<td>
												<div align="center">
												<s:property value="status" />
												</div>
									</td>
									<td>
												<div align="center">
												<s:property value="contractname" />
												</div>
									</td>
									<td>
												<div align="center">
												<s:property value="enddate" />
												</div>
									</td>
									<td>
												<div align="center">
												<s:property value="signcode" />
												</div>
									</td>
									<td>
												<div align="center">
												<s:property value="receivetime" />
												</div>
									</td>
									<td>
												<div align="center">
												</div>
									</td>
								</tr>
							</s:iterator>
								<tr>
									<td colspan="8" align="right">
									<s:if test="pageControl.useFrontPage">
										<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo-1};submit();">上一页</a>
									</s:if>	
									<s:if test="pageControl.useNextPage">								
   									<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo+1};submit();">下一页</a>
									</s:if>
									 第${pageControl.pageNo}页  共${pageControl.totalPage}页  总${pageControl.total}条记录 每页${pageControl.pageSize}条记录</td>
								</tr>
							</table>
							</td>
						</tr>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab3.gif"/>" width="5" height="5" /></td>
										<td class="tdborderbottom"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab4.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</s:form> 
</body>
</html>
<script>
var flowType=${flowType}+"";
if(flowType=="2"){
	document.all["flowType"].options[1].selected=true;
}
var obj1=document.getElementById("iTR2");
if(obj1){
	obj1.style.backgroundColor="B3DEF4";
}
</script>